<%-- 
    Document   : AnnounceBody
    Created on : May 20, 2011, 6:42:33 PM
    Author     : root
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@taglib  uri= "http://java.sun.com/jstl/core_rt" prefix="core"%>
<table border="1">
    <tr><td><font size="3" color="blue"> Message Title </font></td> <td><font size="3" color="blue">Message Body</font></td></tr>
            <logic:iterate id="it"  name="allannounce">


        <tr>
            <td>
                <h1>
                    <bean:write name="it" property="title"></bean:write> 
                </h1>
            </td>

            <td>
                <h1>
                    <bean:write name="it" property="msgBody"></bean:write>
                </h1>
            </td>

        </tr>


    </logic:iterate>
</table>